package com.zjx.bean;

import org.springframework.beans.factory.support.MethodReplacer;

import java.lang.reflect.Method;

/**
 * @author zhaojiaxu
 * @date 2021/08/16 11:24
 **/
public class TestMethodReplacer implements MethodReplacer {
	@Override
	public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
		 System.out.println("我替换了方法");
		return null;
	}
}

